
<template>
	<view class="e-p-20">
		<view class="e-radius-20 bg-white">
			<view class="app-book-success">
				<image :src="$staticPath('user/success.png')" mode="widthFix" class="img-320-224 e-m-b-38"></image>
				<view class="c-333 e-font-32 e-m-b-30">
					兑换成功
				</view>
				<view class="e-font-28 c-999 e-m-b-40">
					恭喜您兑换成功
				</view>
				<view class="e-flex">
					<view class="app-book-success__btn e-m-r-34 e-flex-xy-center" @tap="backHome">
						<text class="e-font-30 c-333">返回首页</text>
					</view>
				</view>
			</view>
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				
			}
		},
		methods:{
			backHome() {
				this.$switchTab('/pages/tabbar/index')
			}
		}
	}
</script>

<style lang="scss">
	.img-320-224 {
		width: 320rpx;
		height: 224rpx;
	}
	.app-book-success {
		padding: 80rpx 60rpx;
		display: flex;
		flex-direction: column;
		align-items: center;
		justify-content: center;
	}
	.app-book-success__btn {
		width: 278rpx;
		height: 90rpx;
		border-radius: 45rpx;
		border: 2rpx solid #E6E6E6;
	}
</style>